package org.finesys.common.core.properties;

import lombok.Data;

import java.util.Map;

@Data
public class RestHttpClientProperties {
    //最大tcp连接数
    int maxTotal;
    //同路由最大tcp连接数
    int defaultMaxPerRoute;
    //重试次数
    int retryCount;
    //是否允许重试
    boolean requestSentRetryEnabled;
    //保持时长
    long keepAliveTime;
    //服务器保持时长
    Map<String, Long> keepAliveTargetHosts;
}
